﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

/// <summary>
///DateTimeSearchRun 的摘要说明
/// </summary>
public class DateTimeSearchRun:ISearchRunType
{
	public DateTimeSearchRun()
	{
		//
		//TODO: 在此处添加构造函数逻辑
		//
	}

    #region ISearchRunType 成员

    public string GetSearchString(ConfigColumns cCol, string Value)
    {
        return " datediff("+DataTypeFactory.GetDBColumnDataType().GetDateDiffDateParam()+"," + DataTypeFactory.GetSqlValue(Value, cCol.ColumnDataType) + "," + cCol.ColumnName + ")=0 ";
    }

    #endregion
}
